#include "project.h"


int main()
{
    //先测试LCD类能不能显示图片
    string lcd_path(LCD_DEV_PATH);
    unique_ptr<LCD>rk3568_lcd(new LCD(lcd_path));
    if(rk3568_lcd->Dispaly_Pic("/xxx/x/x/x/x.bmp") == false)//差Lcd_Star的完善里面的ioctl获取lcd_h lcd_w mmap
    {
        cerr<<"rk3568_lcd";
        return false;
    }


    //测试触摸屏类读取坐标
    string touch_path(TOUCH_DEV_PATH);
    unique_ptr<TOUCH>rk3568_touch(new TOUCH(touch_path));

    rk3568_touch->Get_Touch_Inf();

    //都差析构函数
    return 0;
}